﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Orchard.ContentManagement;
using Orchard.ContentManagement.Drivers;

namespace Piedone.ContentCopy.Drivers
{
    public class ContentPartDriver : ContentPartDriver<ContentPart>
    {
        protected override DriverResult Display(ContentPart part, string displayType, dynamic shapeHelper)
        {
            return ContentShape("Copy_SummaryAdmin",
                () => shapeHelper.Copy_SummaryAdmin());
        }
    }
}